class MyPawn extends UTPawn;


simulated function PostBeginPlay()
{
	//`log("Log from MyPawn");

	SetTimer(2, true, 'Detection');
	
	//GetConcealment();

	Super.PostBeginPlay();
}

function Detection()
{
	local UTPawn Enemy;	

	if (Health > 0)
		{
			`log(GetHumanReadableName()@"Found:");
			//Find all the current enemies	
			foreach VisibleCollidingActors( class'UTPawn', Enemy, 1000.f,,,,,,)
			{
				if(Enemy.Health > 0)
				{
					//`log("Enemy Name:"@Enemy.GetHumanReadableName()@"Enemy Location:"@Enemy.Location);
				}
		
			}
		}	
}
DefaultProperties
{
}
